//
// Created by tender on 17-9-14.
//

#ifndef RICHERS_MENUBACKITEMCOMP_H
#define RICHERS_MENUBACKITEMCOMP_H


#include "IMenuComponent.h"
#include "MenuItemComp.h"

class MenuBackItemComp: public IMenuComponent{

public:
    int checkType(int id) override;



    void setText(const std::string &text) override;

    void print(long id) override;
    
    void show() override;

    void add(IMenuComponent *items) override;

    void setDesc(const std::string &desc) override;

    std::vector<std::shared_ptr<IMenuComponent>> getchilden() override;

};


#endif //RICHERS_MENUBACKITEMCOMP_H
